<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			function $$(id){
				return document.getElementById(id)
			}
			window.onload=function(){
				var cnv=$$("canvas")
				var cxt=cnv.getContext("2d")
				
				cxt.beginPath()
				cxt.arc(150,150,120,0,360*Math.PI/180,true)
				cxt.closePath()
				cxt.fillStyle="#f2c257"
				cxt.fill()
				
				cxt.beginPath()
				cxt.lineWidth=5
				cxt.arc(150,150,85,0,180*Math.PI/180,false)
				cxt.strokeStyle="black"
				cxt.stroke()
				
				
				//左眼圆
				cxt.beginPath()
				cxt.lineWidth=5
				cxt.arc(75,110,8,0,360*Math.PI/180,false)
				cxt.fillStyle="black"
				cxt.fill()
				
				//左眼上半
				cxt.beginPath()				
				cxt.arc(95,115,30,0,180*Math.PI/180,true)
				cxt.strokeStyle="black"
				cxt.stroke()
				//左连接
				cxt.beginPath()
				cxt.arc(73,115,8,0,180*Math.PI/180,false)
				cxt.strokeStyle="black"
				cxt.stroke()
				//左下半
				cxt.beginPath()
				cxt.arc(96,115,15,0,180*Math.PI/180,true)
				cxt.strokeStyle="black"
				cxt.stroke()
				//右连接
				cxt.beginPath()
				cxt.arc(118,114,7,0,180*Math.PI/180,false)
				cxt.strokeStyle="black"
				cxt.stroke()
				
				//右眼圆
				cxt.beginPath()
				cxt.lineWidth=5
				cxt.arc(180,110,8,0,360*Math.PI/180,false)
				cxt.fillStyle="black"
				cxt.fill()
				//右眼上半
				cxt.beginPath()				
				cxt.arc(200,115,30,0,180*Math.PI/180,true)
				cxt.strokeStyle="black"
				cxt.stroke()
				//左连接
				cxt.beginPath()
				cxt.arc(178,115,8,0,180*Math.PI/180,false)
				cxt.strokeStyle="black"
				cxt.stroke()
				
				//左下半
				cxt.beginPath()
				cxt.arc(201,116,15,0,180*Math.PI/180,true)
				cxt.strokeStyle="black"
				cxt.stroke()
				//右连接
				cxt.beginPath()
				cxt.arc(223,114,7,0,180*Math.PI/180,false)
				cxt.strokeStyle="black"
				cxt.stroke()
			}
		</script>
	</head>
	<body>
		<canvas id="canvas" width="300" height="300" style="background-color:gray ;"></canvas>
	</body>
	</body>
</html>
